package top.go2do.auth.business.permission.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import top.go2do.auth.business.permission.module.PermissionPO;

/**
 * @Description
 * @Author xingyj
 * @CreateTime 2025/3/17 10:21
 */
public interface PermissionRepository extends JpaRepository<PermissionPO, Long>, JpaSpecificationExecutor<PermissionPO> {
    PermissionPO findByAppIdAndPermCode(String appId, String permCode);
    PermissionPO findByAppIdAndPermName(String appId, String permName);
}
